/*
 * Funny Language - a free style programming language.
 * Copyright (C) 2015 by fanguangping (fanguangping@163.com)
 * state.h
 */

#ifndef FUNNY_STATE_H
#define FUNNY_STATE_H

#include "../ds/datastructure.h"

typedef struct _State {
	int id;
	int accept;
} State;

State *alloc_state();
State *new_state();

int equals_state(void *a, void *b);
int hash_code_state(void *s);


#endif //FUNNY_STATE_H
